package com.hd.trans.network.apiService

import com.hd.trans.network.bean.TimeResponse
import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Url

/**
 * @describe
 */
interface UniversalService {
    /**
     * 服务器时间戳
     */
    @GET("api/v4/getUTCTime")
    suspend fun getUTCTime(): TimeResponse

    /**
     * 下载文件
     */
    @GET
    suspend fun download(@Url fileUrl: String): ResponseBody
}